package com.espirit.eap.manager;

import java.util.ArrayList;
import java.util.List;

import javax.annotation.Resource;

import com.googlecode.cswish.struts.spring.BeanIntrospector;

public abstract class I18nData {
	@Resource
	BeanIntrospector beanIntrospector;
	protected List<I18n> list = new ArrayList<I18n>(500);
	
	public  List<I18n> getData(){
		setData();
		return list;
	}
	protected abstract void setData();

	protected final void addI18n(String key, String enName,String cnName) {
		list.add(new I18n(key, enName, cnName));
	}


}
